package ycl.common.models.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 手机号密码注册
 *
 * @author ycl
 * @date 2022/6/16 0016 9:02:44
 */
@Data
@ApiModel("手机号密码注册")
public class RegisterByMobilePassReq {

	@Schema(description = "密码")
	@NotBlank(message = "密码不能为空")
	private String password;

	@Schema(description = "手机号")
	@NotBlank(message = "手机号不能为空")
	private String mobile;

	@Schema(description = "验证码")
	@NotBlank(message = "验证码不能为空")
	private String authCode;
}
